#include <QCoreApplication>
#include <iostream>
#include "test_redar.h"
#include <string>
using namespace std;

int main()
{

    std::string file = "new1leida.txt";

    //std::string file = "1.txt";

    RadarDataReader radar_data;
    if(!radar_data.load(file))
    {
        cout<<"Data analysis error!"<<endl;
        return -1;
    }

    cout << "Data analysis finish!" << endl;
    if(!radar_data.To3DLocation())
    {
        cout<<"Data analysis error!"<<endl;
        return -1;
    }

    /*if(!radar_data.SaveData())
    {
        cout<<"Data save error!"<<endl;
        return -1;
    }*/


    cout << "done!" << endl;
    return 0;
}

